﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using NLayer.Decoder;

namespace UnitTests
{
    [TestFixture]
    public class BitReserveTests
    {
        BitReserve bitReserve;

        [SetUp]
        public void SetUp()
        {
            bitReserve = new BitReserve();
        }

        [Test]
        public void BitReserveIsInitiallyEmpty()
        {
            Assert.AreEqual(0, bitReserve.hsstell());
        }

        [Test]
        public void CanAddASingleBit()
        {
            bitReserve.hputbuf(1);
        }

    }
}
